package com.tdk.wifidirectserver.adapter

import android.view.View
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.tdk.wifidirectserver.R

/**
 * @Des:
 * @Author: hang.zhao
 * @Date: 2023/2/28
 */
open class MyViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView)
internal class LeftViewHolder(itemView: View) : MyViewHolder(itemView) {
    var leftMsg: TextView

    init {
        leftMsg = itemView.findViewById(R.id.leftMsg)
    }
}

internal class RightViewHolder(itemView: View) : MyViewHolder(itemView) {
    var rightMsg: TextView

    init {
        rightMsg = itemView.findViewById(R.id.rightMsg)
    }
}